home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 02 / 5 / DISK0254.ZIP / MAKEBKUP.BAT < prev   
DOS Batch File  |  1984-09-05  |  2KB  |  55 lines

  1. . MAKEBKUP.BAT
  2. ECHO ON
  3. . This batch file copies the HELP distribution diskette to
  4. . another disk.  You must have a formatted diskette on hand
  5. . to write this backup copy to.  Invoke the batch file in
  6. . the following manner:
  7. .
  8. . MAKEBKUP p: s: d:
  9. .          ^  ^  ^- destination disk drive with colon ":"
  10. .          !  !     where the copy should be written.
  11. .          !  !
  12. .          !  ^---- source disk drive followed by colon ":"
  13. .          !        where the original diskette is.
  14. .          !
  15. .   the disk drive where the programs DISKCOPY and DISKCOMP
  16. .   may be read from, followed by a colon ":" .
  17. .
  18. . For example:
  19. .  MAKEBKUP A: B: B:  - performs a single drive copy in
  20. .                       drive B:, reading the DOS programs
  21. .                       from the diskette in drive A:
  22. .
  23. . If you want to abort this batch file press the Ctrl-C key.
  24. PAUSE
  25. . If you only have one disk drive, you must copy the programs
  26. . DISKCOPY and DISKCOMP from your DOS diskette to this disk.
  27. . If the programs already exist on the diskette, overwrite
  28. . them with your copies to ensure they belong to your version
  29. . of DOS.
  30. .
  31. . Before starting the backup, you should make certain that
  32. . your original diskette is write protected to avoid
  33. . inadvertent erasure of the diskette.  The notch near the
  34. . diskette label should be covered with a write-protect tab
  35. . normally found in a box of diskettes.
  36. .
  37. . You have selected disk drive "%1" as the disk containing
  38. . the DOS programs DISKCOPY and DISKCOMP in its default
  39. . directory, drive "%2" as the source disk, and drive "%3"
  40. . as the destination disk.
  41. .
  42. . If the command has been invoked correctly press any key
  43. . to continue.  If you want to abort this batch file now
  44. . or any time while it is running press the Ctrl-C key.
  45. PAUSE
  46. %1DISKCOPY %2 %3
  47. .
  48. . Now verify the backup copy
  49. .
  50. %1DISKCOMP %2 %3
  51. .
  52. . The backup is done.  If DISKCOMP found any files with
  53. . errors, try running the batch file again with another
  54. . new diskette as the destination.
  55.